<template>
	<!-- 收益明细 -->
	<view class="incomeDetail-main">
		<uni-notice-bar show-icon text="由于结算订单数量较多，结算时间有所延迟，以实际处理时间为准" />
		<!-- 搜索 -->
		<view class="searchPage-input">
			<uni-search-bar
				radius="50"
				:value="searchValue"
				style="flex: 1"
				placeholder="请输入药品名称、症状、品牌搜索"
				clearButton="always"
				cancelButton="none"
				@confirm="search"
				@cancel="cancel"
			/>
			<text class="searchPage-title" @click="gotoShop">搜索</text>
		</view>

		<!-- 筛选 -->
		<view class="incomeDetail-filter">
			<uni-segmented-control :current="current" :values="items" style-type="text" @clickItem="onClickItem" />
		</view>

		<!-- 明细内容 -->
		<view class="incomeDetailList">
			<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png"></u-empty>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			current: 0,
			items: ['全部', '待结算', '已结算', '已取消'],
			searchValue:""
		};
	},
	methods: {
		onClickItem() {}
	}
};
</script>

<style>
page {
	background-color: #fff;
}
</style>

<style scoped lang="scss">
.incomeDetail-main {
	.searchPage-input {
		display: flex;
		align-items: center;
		height: 80rpx;
		.searchPage-title {
			margin-right: 20rpx;
			color: #444;
		}
	}
}
</style>
